home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
program
/
strings.lzh
/
STRINGS.MAN
next >
Wrap
Text File
|
1994-08-27
|
2KB
|
42 lines
STRINGS(1) USER COMMANDS
NAME
strings - extract strings from binary file
SYNOPSIS
strings [-adoxnv] [-m <number>] [-c chars] filename
DESCRIPTION
Extracts and prints sequences of printable characters, terminated by
a _✓z_✓e_✓r_✓o _✓b_✓y_✓t_✓e, from the _✓d_✓a_✓t_✓a segment of the specified file, which is
assumed to be a GEMDOS executable.
Strings are listed in C-format, i.e. as they would be accepted
as string constants in C. Strings shorter than 4 characters are
ignored. Printable characters are '\t', '\n', and ASCII 32 to 126.
Options:
-a All: Search the _✓c_✓o_✓m_✓p_✓l_✓e_✓t_✓e file (regardless of its format).
-d _✓D_✓e_✓c_✓i_✓m_✓a_✓l: Precede each string with its _✓p_✓o_✓s_✓i_✓t_✓i_✓o_✓n in the file.
-o _✓O_✓c_✓t_✓a_✓l: Same as -d, only in octal.
-x _✓H_✓e_✓x_✓a_✓d_✓e_✓c_✓i_✓m_✓a_✓l: Same as -d, only in hex.
-l Literal: Print strings _✓l_✓i_✓t_✓e_✓r_✓a_✓l_✓l_✓y (i.e., not in C-format).
-n Newline: Accept '\n' and '\r' as string _✓t_✓e_✓r_✓m_✓i_✓n_✓a_✓t_✓o_✓r_✓s.
-m <no> _✓M_✓i_✓n_✓i_✓m_✓u_✓m length: Ignore strings shorter than <no> characters.
-c <ch> _✓C_✓h_✓a_✓r_✓a_✓c_✓t_✓e_✓r_✓s: Regard the specified chars as _✓p_✓r_✓i_✓n_✓t_✓a_✓b_✓l_✓e.
-u _✓U_✓m_✓l_✓a_✓u_✓t_✓s: Regard "umlaut" characters as printable ("äöüÄÖÜß").
-v _✓V_✓e_✓r_✓b_✓o_✓s_✓e: List the segment sizes.
RESTRICTIONS
Printing of strings is limited to the internal buffer size of 1024
characters.
BUGS
When printing in C-format, characters greater than 126 are not
escaped by '\\ddd' (only with -c or -u options).
AUTHOR
hafer@infbs.uucp August 1989